This was an oversight when porting the GtkTextHistory into GTK. We simply
need to bind the GtkTextBuffer action into the text history for grouping
to work correctly.
Fixes #3977
if (buffer->priv->user_action_count == 1)
{
/* Outermost nested user action begin emits the signal */
+ gtk_text_history_begin_user_action (buffer->priv->history);
g_signal_emit (buffer, signals[BEGIN_USER_ACTION], 0);
}
}
{
/* Ended the outermost-nested user action end, so emit the signal */
g_signal_emit (buffer, signals[END_USER_ACTION], 0);
+ gtk_text_history_end_user_action (buffer->priv->history);
}
}